package com.dongdongshop.mapper.seller;

import com.dongdongshop.pojo.Vo.SpecificationOptionVo;
import com.dongdongshop.pojo.seller.TbBrand;
import com.dongdongshop.pojo.seller.TbSpecification;
import com.dongdongshop.pojo.seller.TbSpecificationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbSpecificationMapper {
    int countByExample(TbSpecificationExample example);

    int deleteByExample(TbSpecificationExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbSpecification record);

    int insertSelective(TbSpecification record);

    List<TbSpecification> selectByExample(TbSpecificationExample example);

    TbSpecification selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbSpecification record, @Param("example") TbSpecificationExample example);

    int updateByExample(@Param("record") TbSpecification record, @Param("example") TbSpecificationExample example);

    int updateByPrimaryKeySelective(TbSpecification record);

    int updateByPrimaryKey(TbSpecification record);

    List<TbSpecification> findSpecifiAll(@Param("specName") String specName, @Param("startIndex") int startIndex, @Param("pageSize") Integer pageSize);

    Integer getcount();

    void addSpecifiByName(TbSpecification specification);

    int deleteInfo(@Param("ids") Integer[] ids);

    List<SpecificationOptionVo> selecById(@Param("id") Long id);
}